package com.theorydance.springsourcestudy.autowired.conf;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;

@ToString
@Component
@Data
@ConfigurationProperties(prefix="custom")
public class TmpPlus4 {

    private String active;

    private String dataId;

    @PostConstruct
    public void init() {
        System.out.println("TmpPlus422222 = " + this);
    }



}
